aboutsummaryrefslogtreecommitdiffstats
path: root/syncterm [disowned]
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-30 21:27:07 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-30 21:27:07 +0200
commit2f37c55eae9a40a6d56abbc2b295b406a2705b74 (patch)
treef3a06bfa1c4ebe01000466e69250c24dd5e9c2b9 /syncterm [disowned]
parentadd spot-on (diff)
downloadaur-packages-2f37c55eae9a40a6d56abbc2b295b406a2705b74.tar.gz
aur-packages-2f37c55eae9a40a6d56abbc2b295b406a2705b74.tar.bz2
aur-packages-2f37c55eae9a40a6d56abbc2b295b406a2705b74.tar.xz
disown syncterm
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'syncterm [disowned]')
-rw-r--r--syncterm [disowned]/PKGBUILD28
-rwxr-xr-xsyncterm [disowned]/watch-21
2 files changed, 49 insertions, 0 deletions
diff --git a/syncterm [disowned]/PKGBUILD b/syncterm [disowned]/PKGBUILD
new file mode 100644
index 0000000..7969ce5
--- /dev/null
+++ b/syncterm [disowned]/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=syncterm
+pkgver=0.9.5b
+pkgrel=1
+epoch=1
+pkgdesc="A BBS terminal program"
+url="http://syncterm.bbsdev.net"
+license='GPL'
+depends=('ncurses')
+options=(!buildflags)
+arch=('i686' 'x86_64')
+source=(http://syncterm.bbsdev.net/syncterm-src.tgz)
+sha256sums=('f9699cb1c9bb34ad8430aa4f7c2a106a8c75e8eff0faabd32d667c6b1df3554d')
+
+
+build() {
+ cd "$srcdir/syncterm-"*
+ cd "src/syncterm/"
+ make SRC_ROOT="$(realpath ..)" PREFIX="/usr" || true
+}
+
+package() {
+ cd "$srcdir/syncterm-"*
+ cd "src/syncterm/"
+ make SRC_ROOT="$(realpath ..)" PREFIX="$pkgdir/usr" install
+}
+
diff --git a/syncterm [disowned]/watch- b/syncterm [disowned]/watch-
new file mode 100755
index 0000000..c427d98
--- /dev/null
+++ b/syncterm [disowned]/watch-
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+[ -f release ] && rm release
+
+wget http://syncterm.bbsdev.net -O - 2>/dev/null | grep "syncterm-src.tgz" > release
+
+if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
+ md5sum release > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'syncterm'
+ fi
+elif [ ! -f unfetchable ]; then
+ touch unfetchable
+ echo 'syncterm (unfetchable)'
+fi
+